package com.haulmont.asu.core.scripts

import com.haulmont.asu.core.app.ReportHelper
import com.haulmont.asu.entity.ThemeBookingCommand
import com.haulmont.cuba.core.global.AppBeans

/**
 * Author: Sergey42
 * Date: 24.11.13 18:58
 */

ReportHelper reportHelper = AppBeans.get(ReportHelper.class);
ThemeBookingCommand command = params.get('Item');
String table = reportHelper.getThemes(command);
return [['themes': table]];
